projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78e994d
)
Hard code an exception to "node_modules" directores
author
João Távora
<joaotavora@gmail.com>
Wed, 26 May 2021 14:23:29 +0000
(15:23 +0100)
committer
João Távora
<joaotavora@gmail.com>
Wed, 26 May 2021 14:24:09 +0000
(15:24 +0100)
* eglot.el (eglot--directories-recursively): Fix.
GitHub-reference: per https://github.com/joaotavora/eglot/issues/697
GitHub-reference: per https://github.com/joaotavora/eglot/issues/645
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 706fa92522ebe6f3b765ffa8e895f1e0bd2e0217..4c47ad004bb1052b5fc7ffb327e4540a842e65f9 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-2884,7
+2884,7
@@
If NOERROR, return predicate, else erroring function."
(cl-loop with default-directory = dir
with completion-regexp-list = '("^[^.]")
for f in (file-name-all-completions "" dir)
- if (
file-directory-p f
)
+ if (
and (file-directory-p f) (not (string= "node_modules/" f))
)
append (eglot--directories-recursively f))))
\f